projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed571ae
)
gtk-demo: Add alternative text to a GtkPicture
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 22 Oct 2020 04:05:50 +0000
(
00:05
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 22 Oct 2020 11:51:44 +0000
(07:51 -0400)
This lets us text GtkPicture a11y support.
demos/gtk-demo/images.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/images.c
b/demos/gtk-demo/images.c
index 43d138101ca5e39cd62e401cd0228687fd19a54d..e13302eb538092391e6cb0b687760c46b57ea750 100644
(file)
--- a/
demos/gtk-demo/images.c
+++ b/
demos/gtk-demo/images.c
@@
-414,6
+414,7
@@
do_images (GtkWidget *do_widget)
* will create the pixbuf and fill it in.
*/
picture = gtk_picture_new ();
+ gtk_picture_set_alternative_text (GTK_PICTURE (picture), "A slowly loading image");
gtk_frame_set_child (GTK_FRAME (frame), picture);
start_progressive_loading (picture);